﻿using AutoMapper;
using BCDto.TMS.PersonalInsuranceRecord;
using BCEntity.TMS.PersonalInsuranceRecord;

namespace BCService.MapperProfiles.Insurance.PersonalInsuranceRecord
{
    public class PersonalInsuranceRecordProfile: Profile
    {
        public PersonalInsuranceRecordProfile()
        {
            CreateMap<PersonalInsuranceRecordRequestDto, PersonalInsuranceRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<PersonalInsuranceRecordEntity, PersonalInsuranceRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
